﻿<?xml version='1.0' encoding='utf-8'?>
<Application xmlns='http://schemas.microsoft.com/windows/2009/Ribbon'>
  <Application.Commands>
    <!-- Tabs Range: 1xxx-->
    <Command Name="tabDocument"  Id="1000" LabelTitle="Document" LabelDescription="Settings for the document"  TooltipTitle="Document" TooltipDescription="Settings for the document" />
    <Command Name="tabPage" Id="1001" LabelTitle="Page" />
    <Command Name="tabTopMenu" Id="1002" LabelTitle="Primary navigation" />
    <Command Name="tabSecondaryMenu" Id="1003" LabelTitle="Secondary navigation" />
    <Command Name="tabHeader" Id="1004" LabelTitle="Header" />
    <Command Name="tabContainers" Id="1005" LabelTitle="Containers" />
    <Command Name="tabBreadcrumb" Id="1006" LabelTitle="Breadcrumb" />
    <Command Name="tabRightPanel" Id="1007" LabelTitle="Right Panel" />
    <Command Name="tabView" Id="1008" LabelTitle="View" />
    <!-- Groups Range: 2xxx-->
    <Command Name="grpDocumentBackgroundColor" Id="2000" LabelTitle="Document" />
    <Command Name="grpFooterText" Id="2001" LabelTitle="Footer Text" />
    <Command Name="grpHeader" Id="2002" LabelTitle="Page Header" />
    <Command Name="grpContainer" Id="2003" LabelTitle="Containers" />
    <Command Name="grpBreadCrumb" Id="2004" LabelTitle="Background" />
    <Command Name="grpSecondaryMenuColors" Id="2005" LabelTitle="Colors" />
    <Command Name="grpTopMenuBorder" Id="2006" LabelTitle="Borders" />
    <Command Name="grpTopMenuColor" Id="2007" LabelTitle="Colors" />
    <Command Name="grpPageBackground" Id="2008" LabelTitle="Page" />
    <Command Name="grpShow" Id="2009" LabelTitle="Show" />
    <Command Name="grpDocumentBackgroundGradient" Id="2010" LabelTitle="Gradient" />
    <Command Name="grpFooterLink" Id="2011" LabelTitle="Footer Link" />
    <Command Name="grpDocumentBackgroundImage" Id="2012" LabelTitle="BackgroundImage" />
    <Command Name="grpHeaderText" Id="2013" LabelTitle="Header Text" />
    <Command Name="grpPadding" Id="2014" LabelTitle="Padding"/>
    <Command Name="grpBorders" Id="2015" LabelTitle="Borders"/>
    <Command Name="grpBreadCrumbText" Id="2016" LabelTitle="Text" />
    <Command Name="grpBreadCrumbLink" Id="2017" LabelTitle="Link" />
    <Command Name="grpBreadCrumbBorder" Id="2018" LabelTitle="Border" />
    <Command Name="grpSecondaryMenuMargin" Id="2019" LabelTitle="Margins" />
    <Command Name="grpContainerStyle" Id="2020" LabelTitle="Style" />
    <Command Name="grpRightPanelTitle" Id="2021" LabelTitle="Title" />
    <Command Name="grpRightPanelPosition" Id="2022" LabelTitle="Position" />
    <Command Name="grpSecondaryMenuHoverStyle" Id="2023" LabelTitle="Hover Style" />
    <Command Name="grpSecondaryMenuPosition" Id="2024" LabelTitle="Position" />
    <Command Name="grpSecondaryMenuTitle" Id="2025" LabelTitle="Title" />
    <Command Name="grpSecondaryMenuLinks" Id="2026" LabelTitle="Links" />
    <Command Name="grpPageColors" Id="2027" LabelTitle="Colors" />
    <Command Name="grpTopMenuStyle" Id="2028" LabelTitle="Style" />
    <Command Name="grpBreadCrumbLinkText" Id="2029" LabelTitle="Link Text" />
    <Command Name="grpBreadCrumbBorders" Id="2030" LabelTitle="Borders" />
    <!-- Commands Range: 3xxx-->     
    <Command Name="cpDocumentBackgroundColor" Id="3000" LabelTitle="Background" LabelDescription="Set the background color" />
    <Command Name="cpHeaderColor" Id="3001" LabelTitle="Color" LabelDescription="Set the top color" />
    <Command Name="cpTopMenuColor" Id="3002" LabelTitle="Background" LabelDescription="Set the background color" />
    <Command Name="cpTopMenuHoverColor" Id="3003" LabelTitle="Hover Background" LabelDescription="Set the roll over color" />
    <Command Name="cpContainerTopColor" Id="3004" LabelTitle="Background" LabelDescription="Set the container color" />
    <Command Name="chkManageIcons" Id="3005" LabelTitle="ImageManager" LabelDescription="Image Manager" />
    <Command Name="cpBreadCrumbBackgroundColor" Id="3006" LabelTitle="Background" LabelDescription="Set the breadcrumb color" />
    <Command Name="cpSecondaryMenuBackgroundColor" Id="3007" LabelTitle="Links Background" LabelDescription="Set the left menu links color" />
    <Command Name="cbTopMenuSplitterWidth" Id="3008" LabelTitle="Splitter :" LabelDescription="Splitter" />
    <Command Name="cpTopMenuSplitterColor" Id="3009" LabelTitle="" LabelDescription="" />
    <Command Name="cbTopMenuTopBorderWidth" Id="3010" LabelTitle="Top       :" LabelDescription="Top    " />
    <Command Name="cpTopMenuTopBorderColor" Id="3011" LabelTitle="" LabelDescription="" />
    <Command Name="cbTopMenuBottomBorderWidth" Id="3012" LabelTitle="Bottom :" LabelDescription="Bottom " />
    <Command Name="cpTopMenuBottomBorderColor" Id="3013" LabelTitle="" LabelDescription="" />
    <Command Name="fcFooter" Id="3014" LabelTitle="Footer Text" LabelDescription="Change the footer text layout" />
    <Command Name="cpPageBackgroundColor" Id="3015" LabelTitle="Background" />
    <Command Name="chkStatusBar" Id="3016" LabelTitle="Status Bar" LabelDescription="Status Bar" />
    <Command Name="btnDocumentBackgroundImage" Id="3017" LabelTitle="Background Image" >
      <Command.LargeImages>
        <Image>RibbonImg/background32.bmp</Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>RibbonImg/background16.bmp</Image>
      </Command.SmallImages>
    </Command>
    <Command Name="chkVerticalRepeat" Id="3018" LabelTitle="Repeat vertical" />
    <Command Name="chkHorizontalRepeat" Id="3019" LabelTitle="Repeat Horizontal" />
    <Command Name="cpDocumentBackgroundGradientColor1" Id="3020" LabelTitle="Start color" />
    <Command Name="cpDocumentBackgroundGradientColor2" Id="3021" LabelTitle="End Color" />
    <Command Name="cbDocumentBackgroundGradientColor" Id="3022" LabelTitle="Height" />
    <Command Name="cbDocumentBackgroundGradientColor1Transparent" Id="3023" LabelTitle="Transparency" />
    <Command Name="cbDocumentBackgroundGradientColor2Transparent" Id="3024" LabelTitle="Transparency" />
    <Command Name="btnRemoveDocumentBackgroundImage" Id="3025" LabelTitle="Remove" >
      <Command.LargeImages>
        <Image>RibbonImg/backgroundremove16.bmp</Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>RibbonImg/backgroundremove16.bmp</Image>
      </Command.SmallImages>
    </Command>
    <Command Name="cpFooterLink" Id="3026" LabelTitle="Color" />
    <Command Name="fcHeader" Id="3027" LabelDescription="Header Text" />
    <Command Name="cbPadding" Id="3028" LabelDescription="Sides" LabelTitle="Side" />
    <Command Name="cbOffset" Id="3029" LabelDescription="Top" LabelTitle="Top" />
    <Command Name="cpPageBorderColor" Id="3030" LabelTitle="Color" />
    <Command Name="cbPageBorderWidth" Id="3031" LabelTitle="Width"/>
    <Command Name="ddgPageBorderStyle" Id="3032" LabelTitle="Style"/>
    <Command Name="fcBreadCrumb" Id="3033" LabelTitle="Breadcrumb Text" />
    <Command Name="fcBreadCrumbLink" Id="3034" LabelTitle="Links" />
    <Command Name="cbSecondaryMenuPosition" Id="3035" LabelTitle="Position" />
    <Command Name="cbTopMenuHeight" Id="3036" LabelTitle="Height" />
    <Command Name="cbGlowMode" Id="3037" LabelTitle="Glow Mode" />
    <Command Name="cpTopMenuFontColor" Id="3038" LabelTitle="Text" />
    <Command Name="cpTopMenuFontHoverColor" Id="3039" LabelTitle="Text Hover" />
    <Command Name="cpPageLinkColor" Id="3040" LabelTitle="Link Color" />
    <Command Name="cpBreadCrumbBorderColor" Id="3041" LabelTitle="Color" />
    <Command Name="cbBreadCrumbBorderWidth" Id="3042" LabelTitle="Width"/>
    <Command Name="ddgBreadCrumbBorderStyle" Id="3043" LabelTitle="Style"/>
    <Command Name="cbTopPadding" Id="3044" LabelTitle="Top"/>
    <Command Name="cbLeftPadding" Id="3045" LabelTitle="Left"/>
    <Command Name="cbRightPadding" Id="3046" LabelTitle="Right"/>
    <Command Name="cpContainerBorderColor" Id="3047" LabelTitle="Border Color"/>
    <Command Name="cbContainerGlowMode" Id="3048" LabelTitle="Glow Mode"/>
    <Command Name="chkContainerRoundedCorners" Id="3049" LabelTitle="Rounded Corners"/>
    <Command Name="fcRightPanelTitle" Id="3050" LabelTitle="Title"/>
    <Command Name="cbRightPanelPosition" Id="3051" LabelTitle="Position"/>
    <Command Name="cpSecondaryMenuHoverColor" Id="3052" LabelTitle="Background Color"/>
    <Command Name="cpSecondaryMenuHoverBorderColor" Id="3053" LabelTitle="Border Color"/>
    <Command Name="cbSecondaryMenuGlowMode" Id="3054" LabelTitle="Glow Mode"/>
    <Command Name="chkSecondaryMenuRoundedCorners" Id="3055" LabelTitle="Rounded Corners"/>
    <Command Name="fcSecondaryMenuTitle" Id="3056" LabelTitle="Title"/>
    <Command Name="fcSecondaryMenuLinks" Id="3057" LabelTitle="Links"/>
    <Command Name="cpSecondaryMenuTitleBackgroundColor" Id="3058" LabelTitle="Title Background"/>
    <Command Name="cpSecondaryMenuGradientColor" Id="3059" LabelTitle="Gradient"/>
    <Command Name="cpSecondaryMenuBorderColor" Id="3060" LabelTitle="Border"/>
    <!-- Application menu commands Range: 4xxx-->
    <Command Name="btnSave" Id="4000" LabelTitle="Save" LabelDescription="Save the current theme" TooltipTitle="Save" TooltipDescription="Save the current theme" >
      <Command.LargeImages>
        <Image>RibbonImg/save32.bmp</Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>RibbonImg/save16.bmp</Image>
      </Command.SmallImages>
    </Command>
    <Command Name="btnExport" Id="4001" LabelTitle="Export" LabelDescription="Export current theme" TooltipTitle="Export" TooltipDescription="Export the current theme" />
    <Command Name="btnExit"     Id="4002" LabelTitle="Exit" LabelDescription="Exit Description" TooltipTitle="Exit" TooltipDescription="Exit application." >
      <Command.LargeImages>
        <Image>RibbonImg/exit32.bmp</Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>RibbonImg/exit16.bmp</Image>
      </Command.SmallImages>
    </Command>
    <!-- Quick Access Toolbar commands Range: 5xxx-->
    <Command Name="btnUndo" Id="5000" LabelTitle="Undo" LabelDescription="Undo the last action">
      <Command.LargeImages>
        <Image>RibbonImg/undo32.bmp</Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>RibbonImg/undo16.bmp</Image>
      </Command.SmallImages>
    </Command>
    <Command Name="btnRedo" Id="5001" LabelTitle="Redo" LabelDescription="Redo the last action" >
      <Command.LargeImages>
        <Image>RibbonImg/redo32.bmp</Image>
      </Command.LargeImages>
      <Command.SmallImages>
        <Image>RibbonImg/redo16.bmp</Image>
      </Command.SmallImages>
    </Command>
    <Command Name="qatDefault" Id="5002" LabelTitle="Quick Access Toolbar" />
    <Command Name="AppMenu" Id="5003" LabelTitle="Application Menu" />
  </Application.Commands>
  <Application.Views>
    <Ribbon>
      <Ribbon.Tabs>
        <Tab CommandName="tabDocument">       
          <Group CommandName="grpDocumentBackgroundColor" SizeDefinition="OneButton">
            <DropDownColorPicker CommandName="cpDocumentBackgroundColor" ColorTemplate="ThemeColors"/>
          </Group>
          <Group CommandName="grpDocumentBackgroundImage">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="btnDocumentBackgroundImage" />
                <ControlNameDefinition Name="chkVerticalRepeat" />
                <ControlNameDefinition Name="chkHorizontalRepeat" />
                <ControlNameDefinition Name="btnRemoveDocumentBackgroundImage" />
              </ControlNameMap>                
              <GroupSizeDefinition>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ControlName="btnDocumentBackgroundImage" ImageSize="Large" IsImageVisible="false" />
                  </ControlGroup>
                </Row>                
                <ColumnBreak ShowSeparator="true"/>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ControlName="chkVerticalRepeat" ImageSize="Small" IsImageVisible="false" />
                  </ControlGroup>
                </Row>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ControlName="chkHorizontalRepeat" ImageSize="Small" IsImageVisible="false" />
                  </ControlGroup>
                </Row>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ControlName="btnRemoveDocumentBackgroundImage" ImageSize="Small" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <Button CommandName="btnDocumentBackgroundImage" />          
            <CheckBox CommandName="chkVerticalRepeat" />
            <CheckBox CommandName="chkHorizontalRepeat" />
            <Button CommandName="btnRemoveDocumentBackgroundImage" />
          </Group>
          <Group CommandName="grpDocumentBackgroundGradient">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="cpDocumentBackgroundGradientColor1"/>
                <ControlNameDefinition Name="cbDocumentBackgroundGradientColor1Transparent"/>
                <ControlNameDefinition Name="cpDocumentBackgroundGradientColor2"/>
                <ControlNameDefinition Name="cbDocumentBackgroundGradientColor2Transparent"/>
                <ControlNameDefinition Name="cbDocumentBackgroundGradientColor"/>
              </ControlNameMap>
              <GroupSizeDefinition>
                <Row>
                  <ControlSizeDefinition ControlName="cpDocumentBackgroundGradientColor1" IsImageVisible="false" />
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="cpDocumentBackgroundGradientColor2" IsImageVisible="false"/>
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="cbDocumentBackgroundGradientColor" IsImageVisible="false" />
                </Row>
                <ColumnBreak ShowSeparator="false"/>
                <Row>
                  <ControlSizeDefinition ControlName="cbDocumentBackgroundGradientColor1Transparent" IsImageVisible="false" />
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="cbDocumentBackgroundGradientColor2Transparent" IsImageVisible="false" />
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <DropDownColorPicker CommandName="cpDocumentBackgroundGradientColor1" ThemeColorGridRows="10" ColorTemplate="ThemeColors" />
            <ComboBox CommandName="cbDocumentBackgroundGradientColor1Transparent" IsEditable="false" />
            <DropDownColorPicker CommandName="cpDocumentBackgroundGradientColor2" ThemeColorGridRows="10" ColorTemplate="ThemeColors" />
            <ComboBox CommandName="cbDocumentBackgroundGradientColor2Transparent"  IsEditable="false"/>
            <ComboBox CommandName="cbDocumentBackgroundGradientColor"  IsEditable="false"/>
          </Group>
          <Group CommandName="grpFooterText" SizeDefinition="OneFontControl">
            <FontControl CommandName="fcFooter" FontType="FontWithColor" IsStrikethroughButtonVisible="false" />
          </Group>
          <Group CommandName="grpFooterLink" SizeDefinition="OneButton">
            <DropDownColorPicker CommandName="cpFooterLink" ColorTemplate="ThemeColors" />
          </Group>
        </Tab>
        <Tab CommandName="tabPage">
          <Group CommandName="grpPageBackground" SizeDefinition="OneButton">
            <DropDownColorPicker CommandName="cpPageBackgroundColor" ColorTemplate="ThemeColors"/>
          </Group>
          <Group CommandName="grpPadding">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="cbPadding"/>
                <ControlNameDefinition Name="cbOffset"/>
              </ControlNameMap>
              <GroupSizeDefinition>
                <Row>
                  <ControlSizeDefinition ControlName="cbPadding" ImageSize="Small" IsImageVisible="false"/>
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="cbOffset" ImageSize="Small" IsImageVisible="false" />
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <ComboBox CommandName="cbPadding"  IsEditable="false"/>
            <ComboBox CommandName="cbOffset" IsEditable="false" />
          </Group>
          <Group CommandName="grpBorders">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="cpPageBorderColor"/>
                <ControlNameDefinition Name="cbPageBorderWidth"/>
                <ControlNameDefinition Name="ddgPageBorderStyle"/>
              </ControlNameMap>
              <GroupSizeDefinition>
                <Row>
                  <ControlSizeDefinition ControlName="cpPageBorderColor" ImageSize="Small" IsImageVisible="false"/>
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="cbPageBorderWidth" ImageSize="Small" IsImageVisible="false"/>
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="ddgPageBorderStyle" ImageSize="Small" IsImageVisible="false"/>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <DropDownColorPicker CommandName="cpPageBorderColor" ColorTemplate="ThemeColors" />
            <ComboBox CommandName="cbPageBorderWidth"  IsEditable="false"/>
            <DropDownGallery CommandName="ddgPageBorderStyle" ItemWidth="60" Type="Items" HasLargeItems="false">
              <DropDownGallery.MenuLayout>
                <VerticalMenuLayout Gripper="None" Rows="5"/>
              </DropDownGallery.MenuLayout>
            </DropDownGallery>
          </Group>
          <Group CommandName="grpPageColors" SizeDefinition="OneButton">
            <DropDownColorPicker CommandName="cpPageLinkColor" ColorTemplate="ThemeColors"/>
          </Group>
        </Tab>
        <Tab CommandName="tabTopMenu">
          <Group CommandName="grpTopMenuBorder">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="cbTopMenuSplitterWidth"/>
                <ControlNameDefinition Name="cpTopMenuSplitterColor" />
                <ControlNameDefinition Name="cbTopMenuTopBorderWidth"/>
                <ControlNameDefinition Name="cpTopMenuTopBorderColor"/>
                <ControlNameDefinition Name="cbTopMenuBottomBorderWidth"/>
                <ControlNameDefinition Name="cpTopMenuBottomBorderColor"/>
              </ControlNameMap>
              <GroupSizeDefinition Size="Large">
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cbTopMenuSplitterWidth" IsLabelVisible="true" IsImageVisible="false" />
                    <ControlSizeDefinition ImageSize="Small" ControlName="cpTopMenuSplitterColor" IsLabelVisible="true" IsImageVisible="false" />
                  </ControlGroup>
                </Row>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cbTopMenuTopBorderWidth" IsLabelVisible="true" IsImageVisible="false" />
                    <ControlSizeDefinition ImageSize="Small" ControlName="cpTopMenuTopBorderColor" IsLabelVisible="true" IsImageVisible="false" />
                  </ControlGroup>
                </Row>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cbTopMenuBottomBorderWidth" IsLabelVisible="true" IsImageVisible="false" />
                    <ControlSizeDefinition ImageSize="Small" ControlName="cpTopMenuBottomBorderColor" IsLabelVisible="true" IsImageVisible="false" />
                  </ControlGroup>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <ComboBox CommandName="cbTopMenuSplitterWidth" IsEditable="false" />
            <DropDownColorPicker CommandName="cpTopMenuSplitterColor" ColorTemplate="ThemeColors"  />
            <ComboBox CommandName="cbTopMenuTopBorderWidth" IsEditable="false" />
            <DropDownColorPicker CommandName="cpTopMenuTopBorderColor" ColorTemplate="ThemeColors"  />
            <ComboBox CommandName="cbTopMenuBottomBorderWidth" IsEditable="false" />
            <DropDownColorPicker CommandName="cpTopMenuBottomBorderColor" ColorTemplate="ThemeColors"  />
          </Group>
          <Group CommandName="grpTopMenuStyle">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="cbTopMenuHeight" />
                <ControlNameDefinition Name="cbGlowMode" />
              </ControlNameMap>
              <GroupSizeDefinition Size="Large">
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cbTopMenuHeight" IsLabelVisible="true" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cbGlowMode" IsLabelVisible="true" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <ComboBox CommandName="cbTopMenuHeight" IsEditable="false"  ResizeType="VerticalResize" />
            <ComboBox CommandName="cbGlowMode" IsEditable="false" />
          </Group>
          <Group CommandName="grpTopMenuColor" SizeDefinition="FourButtons">
            <DropDownColorPicker CommandName="cpTopMenuColor" ColorTemplate="ThemeColors"   />
            <DropDownColorPicker CommandName="cpTopMenuHoverColor" ColorTemplate="ThemeColors" />
            <DropDownColorPicker CommandName="cpTopMenuFontColor" ColorTemplate="ThemeColors"   />
            <DropDownColorPicker CommandName="cpTopMenuFontHoverColor" ColorTemplate="ThemeColors" />
          </Group>
        </Tab>
        <Tab CommandName="tabSecondaryMenu">
          <Group CommandName="grpSecondaryMenuTitle" SizeDefinition="OneFontControl">
            <FontControl CommandName="fcSecondaryMenuTitle" FontType="FontWithColor" IsStrikethroughButtonVisible="false" />
          </Group>
          <Group CommandName="grpSecondaryMenuLinks" SizeDefinition="OneFontControl">
            <FontControl CommandName="fcSecondaryMenuLinks" FontType="FontWithColor" IsStrikethroughButtonVisible="false" />
          </Group>
          <Group CommandName="grpSecondaryMenuColors" SizeDefinition="FourButtons">
            <DropDownColorPicker CommandName="cpSecondaryMenuBackgroundColor" ColorTemplate="ThemeColors" ChipSize="Medium"/>
            <DropDownColorPicker CommandName="cpSecondaryMenuTitleBackgroundColor" ColorTemplate="ThemeColors" ChipSize="Medium"/>
            <DropDownColorPicker CommandName="cpSecondaryMenuGradientColor" ColorTemplate="ThemeColors" ChipSize="Medium"/>
            <DropDownColorPicker CommandName="cpSecondaryMenuBorderColor" ColorTemplate="ThemeColors" ChipSize="Medium"/>
          </Group>
          <Group CommandName="grpSecondaryMenuPosition">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="cbSecondaryMenuPosition"/>
              </ControlNameMap>
              <GroupSizeDefinition Size="Large">
                <Row>
                  <ControlSizeDefinition ControlName="cbSecondaryMenuPosition" IsImageVisible="false"/>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <ComboBox CommandName="cbSecondaryMenuPosition" IsEditable="false" />
          </Group>
          <Group CommandName="grpSecondaryMenuMargin">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="cbTopPadding"/>
                <ControlNameDefinition Name="cbLeftPadding"/>
                <ControlNameDefinition Name="cbRightPadding"/>
              </ControlNameMap>
              <GroupSizeDefinition>
                <Row>
                  <ControlSizeDefinition ControlName="cbTopPadding" ImageSize="Small" IsImageVisible="false"/>
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="cbLeftPadding" ImageSize="Small" IsImageVisible="false" />
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="cbRightPadding" ImageSize="Small" IsImageVisible="false" />
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <ComboBox CommandName="cbTopPadding"  IsEditable="false"/>
            <ComboBox CommandName="cbLeftPadding" IsEditable="false" />
            <ComboBox CommandName="cbRightPadding" IsEditable="false" />
          </Group>
          <Group CommandName="grpSecondaryMenuHoverStyle">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="chkSecondaryMenuRoundedCorners" />
                <ControlNameDefinition Name="cbSecondaryMenuGlowMode" />
                <ControlNameDefinition Name="cpSecondaryMenuHoverColor" />
                <ControlNameDefinition Name="cpSecondaryMenuHoverBorderColor" />
              </ControlNameMap>
              <GroupSizeDefinition Size="Large">
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cpSecondaryMenuHoverBorderColor" IsLabelVisible="true" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cpSecondaryMenuHoverColor" IsLabelVisible="true" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
                <ColumnBreak ShowSeparator="false"/>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="chkSecondaryMenuRoundedCorners" IsLabelVisible="true" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cbSecondaryMenuGlowMode" IsLabelVisible="true" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <ComboBox CommandName="cbSecondaryMenuGlowMode" IsEditable="false" />
            <CheckBox CommandName="chkSecondaryMenuRoundedCorners" />
            <DropDownColorPicker CommandName="cpSecondaryMenuHoverColor" ColorTemplate="ThemeColors" />
            <DropDownColorPicker CommandName="cpSecondaryMenuHoverBorderColor" ColorTemplate="ThemeColors" />
          </Group>
        </Tab>
        <Tab CommandName="tabHeader">
          <Group CommandName="grpHeader" SizeDefinition="OneButton">
            <DropDownColorPicker CommandName="cpHeaderColor" ColorTemplate="ThemeColors"/>
          </Group>
          <Group CommandName="grpHeaderText" SizeDefinition="OneFontControl">
            <FontControl CommandName="fcHeader" FontType="FontWithColor" IsStrikethroughButtonVisible="false" />
          </Group>          
        </Tab>
        <Tab CommandName="tabContainers">
          <Group CommandName="grpContainer" SizeDefinition="TwoButtons">
            <DropDownColorPicker CommandName="cpContainerTopColor" ColorTemplate="ThemeColors"/>
            <DropDownColorPicker CommandName="cpContainerBorderColor" ColorTemplate="ThemeColors"/>
          </Group>
          <Group CommandName="grpContainerStyle">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="chkContainerRoundedCorners" />
                <ControlNameDefinition Name="cbContainerGlowMode" />
              </ControlNameMap>
              <GroupSizeDefinition Size="Large">
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cbContainerGlowMode" IsLabelVisible="true" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="chkContainerRoundedCorners" IsLabelVisible="true" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <ComboBox CommandName="cbContainerGlowMode" IsEditable="false" />
            <CheckBox CommandName="chkContainerRoundedCorners" />
          </Group>
        </Tab>
        <Tab CommandName="tabBreadcrumb">
          <Group CommandName="grpBreadCrumb" SizeDefinition="OneButton">
            <DropDownColorPicker CommandName="cpBreadCrumbBackgroundColor" ColorTemplate="ThemeColors"/>
          </Group>
          <Group CommandName="grpBreadCrumbText" SizeDefinition="OneFontControl">
            <FontControl CommandName="fcBreadCrumb" FontType="FontWithColor" IsStrikethroughButtonVisible="false" />
          </Group>
          <Group CommandName="grpBreadCrumbLinkText" SizeDefinition="OneFontControl">
            <FontControl CommandName="fcBreadCrumbLink" FontType="FontWithColor" IsStrikethroughButtonVisible="false" />
          </Group>
          <Group CommandName="grpBreadCrumbBorders">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="cpBreadCrumbBorderColor"/>
                <ControlNameDefinition Name="cbBreadCrumbBorderWidth"/>
                <ControlNameDefinition Name="ddgBreadCrumbBorderStyle"/>
              </ControlNameMap>
              <GroupSizeDefinition>
                <Row>
                  <ControlSizeDefinition ControlName="cpBreadCrumbBorderColor" ImageSize="Small" IsImageVisible="false"/>
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="cbBreadCrumbBorderWidth" ImageSize="Small" IsImageVisible="false"/>
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="ddgBreadCrumbBorderStyle" ImageSize="Small" IsImageVisible="false"/>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <DropDownColorPicker CommandName="cpBreadCrumbBorderColor" ColorTemplate="ThemeColors" />
            <ComboBox CommandName="cbBreadCrumbBorderWidth"  IsEditable="false"/>
            <DropDownGallery CommandName="ddgBreadCrumbBorderStyle" ItemWidth="60" Type="Items" HasLargeItems="false">
              <DropDownGallery.MenuLayout>
                <VerticalMenuLayout Gripper="None" Rows="5"/>
              </DropDownGallery.MenuLayout>
            </DropDownGallery>
          </Group>
        </Tab>
        <Tab CommandName="tabRightPanel">
          <Group CommandName="grpRightPanelTitle" SizeDefinition="OneFontControl">
            <FontControl CommandName="fcRightPanelTitle" FontType="FontWithColor" IsStrikethroughButtonVisible="false" /> 
          </Group>
          <Group CommandName="grpRightPanelPosition">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="cbRightPanelPosition" />
              </ControlNameMap>
              <GroupSizeDefinition Size="Large">
                <Row>
                  <ControlGroup>
                    <ControlSizeDefinition ImageSize="Small" ControlName="cbRightPanelPosition" IsLabelVisible="true" IsImageVisible="false"/>
                  </ControlGroup>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <ComboBox CommandName="cbRightPanelPosition" IsEditable="false" />
          </Group>
        </Tab>
        <Tab CommandName="tabView">
          <Group CommandName="grpShow">
            <SizeDefinition>
              <ControlNameMap>
                <ControlNameDefinition Name="chkManageIcons"/>
                <ControlNameDefinition Name="chkStatusBar"/>
              </ControlNameMap>
              <GroupSizeDefinition Size="Large">
                <Row>
                  <ControlSizeDefinition ControlName="chkManageIcons" IsImageVisible="false"/>
                </Row>
                <Row>
                  <ControlSizeDefinition ControlName="chkStatusBar" IsImageVisible="false"/>
                </Row>
              </GroupSizeDefinition>
            </SizeDefinition>
            <CheckBox CommandName="chkManageIcons" />
            <CheckBox CommandName="chkStatusBar" />
          </Group>
        </Tab>
      </Ribbon.Tabs>
      <Ribbon.ApplicationMenu>
        <ApplicationMenu CommandName="AppMenu">
          <MenuGroup>
            <Button CommandName="btnSave" />
          </MenuGroup>
          <MenuGroup>
            <Button CommandName="btnExport" />
          </MenuGroup>
          <MenuGroup>
            <Button CommandName='btnExit' />
          </MenuGroup>
        </ApplicationMenu>
      </Ribbon.ApplicationMenu>
      <Ribbon.QuickAccessToolbar>
        <QuickAccessToolbar CommandName="qatDefault">
          <QuickAccessToolbar.ApplicationDefaults>
            <Button CommandName="btnUndo" />
            <Button CommandName="btnRedo" />  
          </QuickAccessToolbar.ApplicationDefaults>
        </QuickAccessToolbar>
      </Ribbon.QuickAccessToolbar>
    </Ribbon>
  </Application.Views>
</Application>